import {
  Button,
  message,
  Form,
  FormItem,
  Input,
  InputPassword,
  Tabs,
  TabPane,
  Checkbox,
  Switch,
  Select,
  SelectOption,
  Radio,
  RadioGroup,
  Modal,
  Dropdown,
  Menu,
  SubMenu,
  MenuItem
} from 'ant-design-vue';

export function registerComponent(app) {
  app.use(Button)
  app.use(Form)
  app.use(FormItem)
  app.use(Input)
  app.use(InputPassword)
  app.use(Tabs)
  app.use(TabPane)
  app.use(Checkbox)
  app.use(Switch)
  app.use(Select)
  app.use(SelectOption)
  app.use(Radio)
  app.use(RadioGroup)
  app.use(Modal)
  app.use(Dropdown)
  app.use(Menu)
  app.use(SubMenu)
  app.use(MenuItem)
  app.config.globalProperties.$message = message;
}